<!--
 * @Descripttion: 
 * @Version: 
 * @Author: gaohj
 * @Date: 2022-12-29 17:20:41
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-12-29 18:08:02
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // var lian = {}
        // alert(typeof lian); // object

        // 对象体在堆内存中   对象名字 在栈内存中  
        // 堆内存的地址 会放到栈内存空间中  
    //     var test = null;
    //     alert(typeof test); // object null是一个特殊的对象 


        // var panpan = {
        //     name:'panpan', // 键 name  值  'panpan'
        //     age:18,
        //     height:'165cm',
        //     address:'山东菏泽'
        // };



        // var yanglu = new Object();
        // alert(typeof yanglu);


        var alu = {
            name:'yanglu',
            'age':18,
            $height:'175cm',
            666:999,
            'class-room':2203,
            'ab@hah#t4s^$#':'test'    
        }

        alert(alu);
        document.write(alu);
        console.log(alu);
     </script>
</body>
</html>